package com.loanpcase.wx;

import com.loanpcase.Config;
import com.loanpcase.LPCase;
import org.apache.commons.lang3.StringUtils;

import java.util.HashMap;
import java.util.Map;

public class WXP0006 extends LPCase{

    @Override
    protected String getRequestUrl() {
        return "/WX/WXP0006";
    }

    protected Map<String,Object> getRequestData(){
        HashMap<String,Object> REQUESTDATA = new HashMap<String, Object>();
        REQUESTDATA.put("APPLY_NO", StringUtils.rightPad("AL"+System.currentTimeMillis(),32,"0"));
        REQUESTDATA.put("ACTNO","3423432");
        REQUESTDATA.put("TASKSEQNO","");
        REQUESTDATA.put("LOAN_CURRENCY","CNY");
        REQUESTDATA.put("ADV_PAY_AMOUNT","10");
        REQUESTDATA.put("ADV_PAY_DATE","20180920");
        return REQUESTDATA;

    }

    static public void main(String[] args){
      new WXP0006().run(Config.TEST_CONTEXT_URL_1603);
      //  new WXP0006().run("http://127.0.0.1:11003/loanproxy");
    }
}
